package com.zsx.shopping.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableCaching
@EnableSwagger2
@EnableFeignClients(basePackages = "com.zsx.shopping.common.api")
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "com.zsx.shopping")
public class ShoppingProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShoppingProductApplication.class, args);
    }
}
